package com.platform.rpc.service.impl;

import com.platform.rpc.service.HelloWorld;

import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 13-1-16
 * Time: 下午2:51
 *
 */
@WebService(endpointInterface = "com.platform.rpc.service.HelloWorld", serviceName = "HelloWorld")
public class HelloWorldImpl implements HelloWorld {

	@Override
	public String sayHi(String name) {
		System.out.println("sayHi called");
		return "Hello " + name;
	}
}
